package com.rsk.entity.curriculum;


import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;


@Data
@Entity
@Table(name = "rsk_course_evaluate")
public class RskCourseEvaluate implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	@Id
	@Column(name = "id")
	private long id;//主键

	@Column(name = "course_id")
    private long courseId;//课程ID
	
	@Column(name = "comments")
	private String comments;//评论内容
	
	@Column(name = "comment_time")
	private Date commentTime;//评论时间
	
	@Column(name = "comment_status")
	private int commentStatus;//评论状态
	
	@Column(name = "comment_source")
	private int commentSource;//评论来源 0自然用户 1后台添加
	
	@Column(name = "comment_user")
	private String commentUser;//评论人
	
	@Column(name = "comment_photo")
	private String commentPhoto;//评论人头像
	
	@Column(name = "user_id")
	private long userId;//评论人ID(用户)
	
	@Column(name = "is_top")
	private int isTop;//是否置顶 0 是 1否

	@Column(name = "is_del")
	private int isDel;//是否删除 0否 1是
	
	@Column(name = "operator_user")
	private long operatorUser;//操作人
	
	@Column(name = "operator_time")
	private Date operatorTime;//操作时间
	
}